package ge.lowlevel;

import ge.engine.Log;

/**
 * 
 * @author Abel
 *	Interval is an object with one function, run, who is going to be called 
 *	for an interval function
 */
public abstract class Interval 
{
	//Is te concret timer who is going to manage it. Then, we will be able to cancel the interval
	//or use any other function of the concret timer.
	private Object concretTimer;
	public Object getConcretTimer()
	{
		//Log.write("ConcretTimer"+concretTimer.toString());
		return concretTimer;
	}
	public void setConcretTimer(Object concretTimer)
	{
		//Log.write("ConcretTimer"+concretTimer.toString());
		this.concretTimer = concretTimer;
	}
	public Interval()
	{
		
	}
	/**
	 * 	This function has to be defined 
	 */
	public abstract void run();
}
